package com.spring.source.parse;

import com.spring.source.parse.beans.LuQiQi;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author LuQi
 * @类描述 Demo1
 * @时间 2020/11/2
 */
public class Demo1 {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
		context.register(SpringConfig.class);
		context.refresh();
		LuQiQi bean = context.getBean(LuQiQi.class);

		System.out.println("bean toString : "+bean);
	}
}
